<!--{eval $i=0;}-->
<!--{loop $shopBuy $key $value}-->
<!--{eval $i++;}-->
<div class="div-table-2<!--{if ($i%2 == 0)} color{/if}-->">
	<div class="div-table-row">
    	<div class="div-table-col-2 col_right">
        	<b><!--{$value['end_price']}--></b>
            <p><small><!--{lang cap_nhat}{date($value['lastupdate'], 'u', 9999, $_G['setting']['dateformat'])}--></small></p>
            <p><small><!--{lang phi_van_chuyen}{$value['shipping']}--></small></p>
            <p class="rateproduct"><span class="rating-static rating-$value['point']"></span><!--{if ($value['point'] > 5)}($value['total_vote']/$value['vote']){/if}--></p>
            <div class="clear"></div>
        </div>
        <div class="div-table-col-2 col_center">
        	{if $value['status'] == 0}
                {lang het_hang}
            {elseif $value['status'] == 1}
                {lang san_trong_kho}
            {elseif $value['status'] == 2}
                {lang hang_dang_ve}
            {elseif $value['status'] == 3}
                {lang dang_dat_hang}
            {/if}
            <p class="renew">
            <!--{if $value['new']==1}-->
                <img src="{STATICURL}shop/images/new.gif" width="29" height="19" alt="new" />
            <!--{else}{lang sp_con_moi}{/if}-->
            </p>
        </div>
        <div class="div-table-col-2 col_avatar">
        	<a href="home.php?mod=space&uid=$value['uid']" c="1" initialized="true"><!--{avatar($value['uid'],small)}--></a>
        </div>
        <div class="div-table-col-2 shop_info">
        	<p class="small"><b>[<!--{if $value['province']}$value['province']{else}{lang toan_quoc}{/if}-->]</b></p>
            <p><a href="home.php?mod=space&username=$value['username']&do=shopping" title="$value['shopname']"><!--{$value['shopname']}--></a></p>
            <p class="small"><!--{lang dia_chi_ban}{$value['shopaddr']}--></p>
            <p class="rateproduct"><span class="rating-static rating-$value['shop_rate']"></span><!--{if ($value['rate'] > 0)}($value['rate']){/if}--></p>
        </div>
        <div class="div-table-col-2 col_comment">
        	<!--{if ($value['comment'] > 0)}{lang da_co_luot_binh_luan}<b>{$value['comment']}</b>{lang luot_binh_luan}-->
            <!--{else}{lang chua_co_binh_luan}{/if}-->
        </div>
        <div class="div-table-col-end">
        	<!--<p><a href="#buy_now" class="zocial buy"><span> {lang mua_ngay} </span></a></p>-->
            <p><a href="shop.php?mod=view&amp;name=<!--{eval echo locdau($value['pname']);}-->&amp;pid=<!--{$value['pid']}-->" class="zocial buy"><span> {lang chi_tiet} </span></a></p>
            <!--<p><a href="#tai_gian_hang" class="zocial buy"><span>{lang tai_gian_hang}</span></a></p> -->
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
<!--{/loop}-->